﻿using System;
using System.Collections.Generic;
using System.Text;

namespace AspNetCs.Model
{
    public class Admin_Model
    {
        private int id = 0;
        /// <summary>
        /// ID
        /// </summary>
        public int Id { get { return id; } set { id = value; } }

        private string username = "";
        /// <summary>
        /// 管理员用户名
        /// </summary>
        public string UserName { get { return username; } set { username = value; } }

        private string pwd = "";
        /// <summary>
        /// 管理员密码
        /// </summary>
        public string Pwd { get { return pwd; } set { pwd = value; } }

        private string lastloginip = "";
        /// <summary>
        /// 最后一次登录IP
        /// </summary>
        public string LastLoginIp { get { return lastloginip; } set { lastloginip = value; } }
        private string lastlogintime="";
        /// <summary>
        /// 最后一次登录时间
        /// </summary>
        public string LastLoginTime { get { return lastlogintime; } set { lastlogintime = value; } }


        private string lastloginouttime = "";
        /// <summary>
        /// 最后一次退出时间
        /// </summary>
        public string LastLoginOutTime { get { return lastloginouttime; } set { lastloginouttime = value; } }

        private int logintimes = 0;
        /// <summary>
        /// 登录次数
        /// </summary>
        public int LoginTimes { get { return logintimes; } set { logintimes = value; } }

        private int purview = 0;
        /// <summary>
        /// 管理员权限
        /// </summary>
        public int Purview { get { return purview; } set { purview = value; } }

    }
}
